package com.ss.common;

import javax.sql.DataSource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.ibatis.SqlMapClientTemplate;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

@SuppressWarnings("unused")
public class BaseDao extends SqlMapClientDaoSupport{
	public SqlMapClientTemplate getSqlMapClientTemplate1() {
		return sqlMapClientTemplate1;
	}

	public DataSource getDataSource1() {
		return dataSource1;
	}

	private SqlMapClientTemplate sqlMapClientTemplate1;
	
	
	private DataSource dataSource1;
	
	public void setSqlMapClientTemplate1(SqlMapClientTemplate sqlMapClientTemplate) {
		this.sqlMapClientTemplate1 =  sqlMapClientTemplate;
		super.setSqlMapClientTemplate(sqlMapClientTemplate);
	}

	public void setDataSource1(DataSource dataSource) {
		this.dataSource1 = dataSource;
		super.setDataSource(dataSource);
	}
}
